<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>用户管理</title>
  <link rel="stylesheet" th:href="@{/static/lib/layui/css/layui.css}" media="all">
  <link rel="stylesheet" th:href="@{/static/lib/layui/css/admin.css}" media="all">
</head>
<body>
<div class="layui-fluid">
  <div class="layui-card">
    <div class="layui-form layui-card-header layuiadmin-card-header-auto">
      <div class="layui-form-item">
        <div class="layui-inline">
          <label class="layui-form-label">用户名</label>
          <div class="layui-input-block">
            <input type="text" name="username" placeholder="请输入" autocomplete="off" class="layui-input" id="username-input">
          </div>
        </div>
        <div class="layui-inline">
          <button class="layui-btn" lay-filter="user-search" id="user-search">查询</button>
          <button class="layui-btn" data-type="add" id="user-add">添加</button>
        </div>
      </div>
    </div>
    <div class="layui-card-body">
      <table lay-filter="user-table" id="user-table"></table>
      <script type="text/html" id="toolbar">
        <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><i class="layui-icon layui-icon-delete"></i>删除</a>
      </script>
    </div>
  </div>
</div>
<script th:inline="javascript">
    var ctx = [[@{/}]];
</script>
<script th:src="@{/static/lib/axios.min.js}"></script>
<script th:src="@{/static/lib/layui/layui.js}"></script>
<script th:src="@{/static/js/sys/user.js}"></script>
</body>
</html>